<script setup>
import { reactive, onBeforeMount, onMounted } from "vue";
import DiamondImg from "@/assets/Diamond.png";
import HeartImg from "@/assets/Heart.png";
import SpadeImg from "@/assets/Spade.png";
import ClubImg from "@/assets/Club.png";

const imgMap = {
  d: DiamondImg,
  h: HeartImg,
  s: SpadeImg,
  c: ClubImg,
};

const colorMap = {
  d: "#ff0000",
  h: "#ff0000",
  s: "#000000",
  c: "#000000",
};

const classMap = {
  bet: "is-bet",
  check: "is-check",
  call: "is-call",
  raise: "is-raise",
  allin: "is-allin",
  fold: "is-fold",
  thinking: "is-thinking",
};

const actionMap = {
  bet: "Bet",
  check: "过牌",
  call: "跟牌",
  raise: "加注",
  allin: "全下",
  fold: "弃牌",
  thinking: "思考中",
};

const info = reactive({
  position: 0,
  index: 0,
  base: 0,
  pot: "",
  winClass: "win",
  delarClass: "button",
  titles: [],
  notices: [],
  postions: [],
  users: [],
  stacks: [],
  userCards: [],
  cards: [],
  wins: [],
  analyze: [],
  items: []
});

const handleInfo = (data) => {
  // console.log(data);
  if (data.gameCurBigBlind > info.base) {
    info.base = data.gameCurBigBlind;
  }
  info.pot = `底池: ${data.gamePot}`;
  info.position = data.gameCurSeat;
  const titles = [];
  titles.push(`${data.gameName}(${data.gameLevelTime}分钟)`);
  titles.push(
    `剩余人数/参赛人数：${data.gameRemainHeadCount}/${data.gameHeadCount}`
  );
  titles.push(
    `Level：${data.gameCurSmallBlind}/${data.gameCurBigBlind}(${data.gameCurBaseBlind})`
  );
  info.titles = titles;
  const notices = [];
  notices.push(
    `Level：${data.gameNextSmallBlind}/${data.gameNextBigBlind}(${data.gameNextBaseBlind})[${data.gameCurLevelTimeText}]`
  );
  if (data.gameRemainRegisterTimeText != "00:00:00") {
    notices.push(`${data.gameRemainRegisterTimeText} 截止报名`);
  }
  info.notices = notices;
  const cards = [];
  if (Array.isArray(data.gamePublicCard)) {
    for (const cardText of data.gamePublicCard) {
      if (cardText && typeof cardText === "string") {
        const [, point, suit] = cardText.match(/^([2-9TJQKA]+)([dhsc]+)$/);
        cards.push({
          color: colorMap[suit],
          point: point ? point : "",
          img: point ? imgMap[suit] : "",
        });
      } else {
        cards.push({
          point: "",
          img: "",
        });
      }
    }
  }
  info.cards = cards;
};

const handleItems = (items) => {
  // console.log(items);
  info.items.push(items)
  console.log(info.items);
  const wins = [];
  const users = [];
  const postions = [];
  const stacks = [];
  const userCards = [];
  for (const [index, item] of items.entries()) {
    const className = classMap[item.state];
    const isEmpty = item.seatNo == -1;
    if (isEmpty) {
      postions.push({
        className: "",
        text: "+",
        action: "",
      });
      stacks.push({
        text: 0,
        className: "",
      });
      const cards = [];
      for (const card of item.cards) {
        cards.push({
          className: "is-empty",
          point: "?",
          img: "",
        });
      }
      users.push({
        className: "",
        name: "",
        userName: "",
        bankroll: "",
      });
      userCards.push(cards);
    } else {
      postions.push({
        className: className,
        text: item.position,
        action: actionMap[item.state],
      });
      // const num = item.betting / info.base;
      stacks.push({
        className: className,
        // stack: `${num} BB`,
        text: item.betting,
      });
      users.push({
        className: className,
        name: item.nickName,
        userName: item.userName,
        bankroll: item.chips,
      });
      const cards = [];
      for (const card of item.cards) {
        if (card && typeof card === "string") {
          const [, point, suit] = card.match(/^([2-9TJQKA]+)([dhsc]+)$/);
          cards.push({
            className: className,
            color: colorMap[suit],
            point: point ? point : "",
            img: point ? imgMap[suit] : "",
          });
        } else {
          cards.push({
            className: "is-active " + className,
            point: "",
            img: "",
          });
        }
      }
      userCards.push(cards);
      if (item.position === "D") {
        info.delarClass = "button" + index;
      }
      if (item.win) {
        wins.push("win" + index);
      }
    }
  }
  info.postions = postions;
  info.stacks = stacks;
  info.users = users;
  info.userCards = userCards;
  info.wins = wins;
};

const handleAnalyze = (items) => {
  const signs = ["盲注", "翻牌前", "翻牌", "转牌", "河牌"];
  const analyzes = [];
  const total = "";
  const analyzeitems = [];
  // for (const item of items) {
  //   const className = classMap[item.state];
  //   if (item.seatNo !== -1) {
  //     const cards = [];
  //     for (const card of item.cards) {
  //       if (card && typeof card === "string") {
  //         const [, point, suit] = card.match(/^([2-9TJQKA]+)([dhsc]+)$/);
  //         cards.push({
  //           className: className,
  //           color: colorMap[suit],
  //           point: point ? point : "",
  //           img: point ? imgMap[suit] : "",
  //         });
  //       } else {
  //         cards.push({
  //           className: "is-active " + className,
  //           point: "",
  //           img: "",
  //         });
  //       }
  //     }
  //     analyzeitems.push({
  //       position: item.position,
  //       name: item.nickName,
  //       userName: item.userName,
  //       action: item.action,
  //       bankroll: item.chips,
  //       cards: cards,
  //     });
  //   }
  // }
  // analyzes.push({
  //   title: signs[index],
  //   text: total > 0 ? total + " BB" : "",
  //   items: analyzeitems,
  // });
  info.analyzes = analyzes;
};

const handleStart = () => {
  let ws = new WebSocket("ws://192.168.1.25:9999");
  ws.onopen = function () {
    console.log("onopen");
  };
  ws.onmessage = function (evt) {
    let json = JSON.parse(evt.data);
    if (!json || !json.data) {
      return;
    }
    let data = json.data;
    let log = json.log;
    handleInfo(data.base);
    handleItems(data.player);
    handleAnalyze(data.player);
    // console.clear();
    // console.log(log);
  };
  ws.onclose = function () {
    console.log("onclose");
  };
};

onBeforeMount(() => {
  console.log("before-mount");

  const mocks = [
    {
      seatNo: 0,
      position: "D",
      beforeState: "",
      state: "thinking",
      win: false,
      userId: 229357,
      nickName: "Christopf000",
      userName: "徐鹏飞",
      chips: 41800,
      betting: 400,
      cards: ["", ""],
      ranking: 10,
    },
    {
      seatNo: -1,
      position: "UTG",
      beforeState: "",
      state: "fold",
      win: false,
      userId: 133474,
      nickName: "JorSor2",
      userName: "吴祖珊",
      chips: 48350,
      betting: 0,
      cards: ["", ""],
      ranking: 11,
    },
    {
      seatNo: 2,
      position: "SB",
      beforeState: "",
      state: "call",
      win: false,
      userId: 170191,
      nickName: "lc5512512",
      userName: "李成",
      chips: 83600,
      betting: 2000,
      cards: ["", ""],
      ranking: 2,
    },
    {
      seatNo: -1,
      position: "BB",
      beforeState: "",
      state: "allin",
      win: false,
      userId: 141389,
      nickName: "omovv666",
      userName: "王濛",
      chips: 0,
      betting: 0,
      cards: ["Tc", "4s"],
      ranking: 24,
    },
    {
      seatNo: 4,
      position: "BB",
      beforeState: "",
      state: "allin",
      win: true,
      userId: 235353,
      nickName: "Jiangdd",
      userName: "蒋旭堃",
      chips: 12625,
      betting: 4000,
      cards: ["", ""],
      ranking: 19,
    },
    {
      seatNo: 5,
      position: "UTG",
      beforeState: "",
      state: "raise",
      win: true,
      userId: 213861,
      nickName: "dldw313",
      userName: "夏元军",
      chips: 23400,
      betting: 400,
      cards: ["8d", "8h"],
      ranking: 15,
    },
    {
      seatNo: 6,
      position: "HJ",
      beforeState: "",
      state: "fold",
      win: false,
      userId: 168224,
      nickName: "jerry666",
      userName: "叶伟",
      chips: 92900,
      betting: 400,
      cards: ["", ""],
      ranking: 1,
    },
    {
      seatNo: 7,
      position: "CO",
      beforeState: "",
      state: "raise",
      win: false,
      userId: 229021,
      nickName: "lsxlsx",
      userName: "李世旭",
      chips: 61325,
      betting: 400,
      cards: ["", ""],
      ranking: 4,
    },
    {
      seatNo: -1,
      position: "D",
      beforeState: "",
      state: "allin",
      win: false,
      userId: 228089,
      nickName: "Rebeccatutu",
      userName: "卓娟",
      chips: 0,
      betting: 0,
      cards: ["8d", "8h"],
      ranking: 20,
    },
  ];
  // handleItems(mocks);
  const mockItems = [
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "",
            "state": "call",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 36200,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 7100,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 1200,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 7400,
            "betting": 2000,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "",
            "state": "raise",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 34500,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "",
            "state": "call",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 36200,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 7100,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 1200,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 7400,
            "betting": 2000,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "",
            "state": "raise",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 34500,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "",
            "state": "call",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 36200,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 7100,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 1200,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 7400,
            "betting": 2000,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "",
            "state": "raise",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 34500,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "",
            "state": "call",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 36200,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 7100,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 1200,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 7400,
            "betting": 2000,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "",
            "state": "raise",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 34500,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "",
            "state": "call",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 36200,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 7100,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 1200,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 7400,
            "betting": 2000,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "",
            "state": "raise",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 34500,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "",
            "state": "call",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 36200,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 7100,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 1200,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 7400,
            "betting": 2000,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "",
            "state": "raise",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 34500,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "",
            "state": "call",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 36200,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 7100,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 1200,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 9400,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "raise",
            "state": "thinking",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 34500,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "",
            "state": "call",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 36200,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 7100,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 1200,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 9400,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "raise",
            "state": "thinking",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 34500,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 36200,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 7100,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 1200,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 9400,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "raise",
            "state": "call",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 30100,
            "betting": 9400,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 36200,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 7100,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 1200,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 9400,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "raise",
            "state": "call",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 30100,
            "betting": 9400,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 36200,
            "betting": 5000,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 7100,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 1200,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 9400,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "raise",
            "state": "call",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 30100,
            "betting": 9400,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 300,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "call",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 30100,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "call",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 30100,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "call",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 30100,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "call",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 30100,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": -1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 0,
            "nickName": "",
            "userName": "",
            "chips": -1,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 0
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "call",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 34
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 37
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 30100,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 9
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 2,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 181578,
            "nickName": "fisherman22",
            "userName": "陈瑞祺",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 31
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 35
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 25
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "raise",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 17300,
            "betting": 12800,
            "cards": [
                "",
                ""
            ],
            "ranking": 12
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 2,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 181578,
            "nickName": "fisherman22",
            "userName": "陈瑞祺",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 31
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 35
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 25
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "raise",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 17300,
            "betting": 12800,
            "cards": [
                "",
                ""
            ],
            "ranking": 12
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 2,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 181578,
            "nickName": "fisherman22",
            "userName": "陈瑞祺",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "thinking",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 31
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 35
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 25
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "raise",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 17300,
            "betting": 12800,
            "cards": [
                "",
                ""
            ],
            "ranking": 12
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 2,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 181578,
            "nickName": "fisherman22",
            "userName": "陈瑞祺",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "fold",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 31
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 35
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 25
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "raise",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 17300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 12
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 2,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 181578,
            "nickName": "fisherman22",
            "userName": "陈瑞祺",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "fold",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Th",
                "Td"
            ],
            "ranking": 31
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Jh",
                "5s"
            ],
            "ranking": 35
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Kd",
                "Kh"
            ],
            "ranking": 25
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "raise",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 17300,
            "betting": 0,
            "cards": [
                "8h",
                "Ad"
            ],
            "ranking": 12
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 2,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 181578,
            "nickName": "fisherman22",
            "userName": "陈瑞祺",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "fold",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Th",
                "Td"
            ],
            "ranking": 31
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Jh",
                "5s"
            ],
            "ranking": 35
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Kd",
                "Kh"
            ],
            "ranking": 25
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "raise",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 17300,
            "betting": 0,
            "cards": [
                "8h",
                "Ad"
            ],
            "ranking": 12
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 2,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 181578,
            "nickName": "fisherman22",
            "userName": "陈瑞祺",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "fold",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Th",
                "Td"
            ],
            "ranking": 31
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Jh",
                "5s"
            ],
            "ranking": 35
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Kd",
                "Kh"
            ],
            "ranking": 25
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "raise",
            "win": false,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 17300,
            "betting": 0,
            "cards": [
                "8h",
                "Ad"
            ],
            "ranking": 12
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 2,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 181578,
            "nickName": "fisherman22",
            "userName": "陈瑞祺",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "fold",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Th",
                "Td"
            ],
            "ranking": 31
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Jh",
                "5s"
            ],
            "ranking": 35
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Kd",
                "Kh"
            ],
            "ranking": 25
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "raise",
            "win": true,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 17300,
            "betting": 0,
            "cards": [
                "8h",
                "Ad"
            ],
            "ranking": 12
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 2,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 181578,
            "nickName": "fisherman22",
            "userName": "陈瑞祺",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "fold",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Th",
                "Td"
            ],
            "ranking": 32
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Jh",
                "5s"
            ],
            "ranking": 36
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Kd",
                "Kh"
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "raise",
            "win": true,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 68700,
            "betting": 0,
            "cards": [
                "8h",
                "Ad"
            ],
            "ranking": 12
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 2,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 181578,
            "nickName": "fisherman22",
            "userName": "陈瑞祺",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "fold",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Th",
                "Td"
            ],
            "ranking": 32
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Jh",
                "5s"
            ],
            "ranking": 36
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Kd",
                "Kh"
            ],
            "ranking": 26
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "raise",
            "win": true,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 68700,
            "betting": 0,
            "cards": [
                "8h",
                "Ad"
            ],
            "ranking": 12
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        }
    ],
    [
        {
            "seatNo": 0,
            "position": "CO",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 230529,
            "nickName": "lvchayeye",
            "userName": "罗佳",
            "chips": 25300,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 16
        },
        {
            "seatNo": 1,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 215638,
            "nickName": "duxinrong",
            "userName": "杜昕融",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 2,
            "position": "",
            "beforeState": "",
            "state": "",
            "win": false,
            "userId": 181578,
            "nickName": "fisherman22",
            "userName": "陈瑞祺",
            "chips": 10000,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 22
        },
        {
            "seatNo": 3,
            "position": "D",
            "beforeState": "call",
            "state": "fold",
            "win": false,
            "userId": 213230,
            "nickName": "wangjiuren",
            "userName": "王振强",
            "chips": 31800,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 11
        },
        {
            "seatNo": 4,
            "position": "SB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 218636,
            "nickName": "lucia5777",
            "userName": "吴茜",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Th",
                "Td"
            ],
            "ranking": 32
        },
        {
            "seatNo": 5,
            "position": "BB",
            "beforeState": "",
            "state": "allin",
            "win": false,
            "userId": 235669,
            "nickName": "a5510201",
            "userName": "李威",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Jh",
                "5s"
            ],
            "ranking": 36
        },
        {
            "seatNo": 6,
            "position": "UTG",
            "beforeState": "call",
            "state": "allin",
            "win": false,
            "userId": 141711,
            "nickName": "Paul1981",
            "userName": "宋禹",
            "chips": 0,
            "betting": 0,
            "cards": [
                "Kd",
                "Kh"
            ],
            "ranking": 27
        },
        {
            "seatNo": 7,
            "position": "UTG+1",
            "beforeState": "call",
            "state": "raise",
            "win": true,
            "userId": 133755,
            "nickName": "james2008",
            "userName": "孙良",
            "chips": 68700,
            "betting": 0,
            "cards": [
                "8h",
                "Ad"
            ],
            "ranking": 12
        },
        {
            "seatNo": 8,
            "position": "HJ",
            "beforeState": "",
            "state": "fold",
            "win": false,
            "userId": 227866,
            "nickName": "Sunny0327",
            "userName": "蔡永文",
            "chips": 42500,
            "betting": 0,
            "cards": [
                "",
                ""
            ],
            "ranking": 10
        }
    ]
]
  const items = [
    {
      title: "盲注",
      text: "",
      items: [
        {
          position: "SB",
          name: "sdsdsdsdsdd",
          action: "SB",
          num: "1BB",
        },
        {
          position: "BB",
          name: "sdsdsdsdsdd",
          action: "BB",
          num: "2BB",
        },
      ],
    },
    {
      title: "翻牌前",
      text: "3 BB",
      items: [
        {
          position: "UTG+1",
          name: "sdsdsdsdsdd",
          action: "Fold",
          num: "",
        },
        {
          position: "UTG+1",
          name: "sdsdsdsdsdd",
          action: "Fold",
          num: "",
        },
      ],
    },
    {
      title: "翻牌",
      text: "6BB",
      items: [
        {
          position: "UTG+1",
          name: "sdsdsdsdsdd",
          action: "Fold",
          num: "",
        },
        {
          position: "UTG+1",
          name: "sdsdsdsdsdd",
          action: "Fold",
          num: "",
        },
      ],
    },
    {
      title: "转牌",
      text: "9BB",
      items: [
        {
          position: "UTG",
          name: "sdsdsdsdsdd",
          action: "Fold",
          num: "",
        },
        {
          position: "UTG",
          name: "sdsdsdsdsdd",
          action: "Fold",
          num: "",
        },
      ],
    },
    {
      title: "河牌",
      text: "12BB",
      items: [
        {
          position: "UTG",
          name: "sdsdsdsdsdd",
          action: "Call",
          num: "3BB",
        },
        {
          position: "UTG",
          name: "sdsdsdsdsdd",
          action: "Call",
          num: "3BB",
        },
        {
          position: "UTG",
          name: "sdsdsdsdsdd",
          action: "Call",
          cards: ["1", "2"],
        },
      ],
    },
  ];
  // handleAnalyze(items);
  handleStart();
});

onMounted(() => {
  console.log("mounted");
});
</script>

<template>
  <section class="card-table">
    <div class="card-table__con">
      <!-- 提示信息 -->
      <div class="title">
        <p v-for="title of info.titles">{{ title }}</p>
      </div>
      <div class="notice">
        <p v-for="notice of info.notices">{{ notice }}</p>
      </div>
      <!-- 底池 -->
      <div class="sign">{{ info.pot }}</div>
      <!-- 庄家按钮 -->
      <div :class="info.delarClass">D</div>
      <!-- win -->
      <div v-for="win of info.wins" :class="win">WIN</div>
      <!-- <div :class="info.winClass">WIN</div> -->
      <!-- 公开牌 -->
      <ul class="card">
        <li
          class="card__item"
          v-for="card of info.cards"
          :class="card.className"
        >
          <p v-if="card.point">
            <strong :style="{ color: card.color }">{{ card.point }}</strong>
            <img :src="card.img" :alt="card.point" />
          </p>
          <span v-else>?</span>
        </li>
      </ul>
      <!-- 用户昵称 -->
      <ul class="user">
        <li
          class="user__item"
          v-for="(item, index) of info.users"
          :key="index"
          :class="item.className"
        >
          <p>{{ item.userName }}</p>
          <p>{{ item.name }}</p>
          <p>{{ item.bankroll }}</p>
        </li>
      </ul>
      <!-- 位置提示、头像 -->
      <ul class="position">
        <li
          class="position__item"
          v-for="(postion, index) of info.postions"
          :key="index"
          :class="postion.className"
        >
          <i></i>
          <strong :style="postion.style">{{ postion.text }}</strong>
          <span>{{ postion.action }}</span>
        </li>
      </ul>
      <!-- 下注筹码 -->
      <ul class="stack">
        <li
          class="stack__item"
          v-for="(stack, index) of info.stacks"
          :key="index"
          :class="stack.className"
        >
          <img v-if="stack.text" src="../assets/stack.png" alt="stack" />
          <span v-if="stack.text">{{ stack.text }}</span>
          <!-- <p>--{{ stack.stack }}</p> -->
        </li>
      </ul>
      <!-- 用户卡牌 -->
      <ul class="user-card">
        <li
          class="user-card__item"
          v-for="(userCards, index) of info.userCards"
          :key="index"
        >
          <p v-for="card of userCards" :class="card.className">
            <strong :style="{ color: card.color }">{{ card.point }}</strong>
            <img
              v-if="card.point && card.point !== '?'"
              :src="card.img"
              :alt="card.point"
            />
          </p>
        </li>
      </ul>
    </div>
    <ul class="card-table__analyze analyze">
      <li class="analyze__item" v-for="analyze of info.analyze">
        <div class="analyze__title">
          <h5>{{ analyze.title }}</h5>
          <h6>{{ analyze.text }}</h6>
        </div>
        <div class="analyze__con">
          <div class="analyze__action" v-for="item of analyze.items">
            <div class="analyze__tag">{{ item.position }}</div>
            <div class="analyze__texts">
              <p class="analyze__name">{{ item.name }}</p>
              <div class="analyze__text">
                <p>{{ item.action }}</p>
                <p v-if="item.num">{{ item.num }}</p>
                <p v-for="card of item.cards" :class="card.className">
                  <strong :style="{ color: card.color }">{{
                    card.point
                  }}</strong>
                  <img
                    v-if="card.point && card.point !== '?'"
                    :src="card.img"
                    :alt="card.point"
                  />
                </p>
              </div>
            </div>
          </div>
        </div>
      </li>
    </ul>
  </section>
</template>

<style lang="scss" scoped>
.card-table {
  position: relative;
  padding-top: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  min-height: 100vh;
  color: #ffffff;
  background-color: #1e1e3c;
  box-sizing: border-box;

  &__tip {
    position: absolute;
    top: 0px;
    right: 0px;
  }

  &__con {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 800px;
    height: 360px;
    color: #ffffff;
    background-color: #333a6b;
    border-radius: 200px;
    border: 8px solid #ffa0a3;

    // &::before {
    //   content: "";
    //   width: 1px;
    //   height: 600px;
    //   background-color: #ffffff;
    //   position: absolute;
    //   left: 50%;
    //   top: -100px;
    // }

    // &::after {
    //   content: "";
    //   width: 1100px;
    //   height: 1px;
    //   background-color: #ffffff;
    //   position: absolute;
    //   top: 50%;
    //   left: -100px;
    // }
  }
  &__analyze {
    margin-top: 120px;
    width: 100vw;
  }
}
.analyze {
  display: flex;

  &__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #6a6e86;

    &:last-child {
      border: 0;
    }
  }

  &__title {
    padding: 6px 12px;
    height: 60px;
    color: #ffffff;
    background-color: #000000;

    h5 {
      margin: 0;
      font-size: 15px;
      text-align: center;
      line-height: 24px;
    }

    h6 {
      margin: 0;
      margin-top: 8px;
      padding: 0 12px;
      font-size: 14px;
      text-align: center;
      line-height: 24px;
      background-color: #201e1e;
      border-radius: 4px;
    }
  }

  &__con {
    padding: 12px;
    flex: 1;
    color: #ffffff;
    background-color: #312f2f;
  }

  &__action {
    margin-bottom: 12px;
    display: flex;
  }

  &__tag {
    margin-right: 6px;
    width: 50px;
    height: 50px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    color: #ffffff;
    background-color: #706c6c;
  }

  &__name {
    font-size: 14px;
    line-height: 20px;
  }

  &__text {
    position: relative;
    margin-left: 12px;
    padding: 6px;
    color: #000000;
    background-color: #ffffff;
    border-radius: 4px;

    &::before {
      content: "";
      position: absolute;
      top: 10px;
      left: -8px;
      width: 0;
      height: 0;
      border-top: 6px solid transparent;
      border-bottom: 6px solid transparent;
      border-right: 8px solid #ffffff;
    }

    p:first-child {
      font-weight: bold;
    }
  }
}
@font-face {
  font-family: "HunDIN";
  src: url("../assets/fonts/HunDIN.ttf");
}
.tip {
  width: 403px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  border-left: 1px solid #c2c2c2;
  border-top: 1px solid #c2c2c2;

  &__item {
    flex: 0 0 30px;
    width: 30px;
    font-size: 11px;
    text-align: center;
    line-height: 24px;
    color: #000000;
    background-color: #ffffff;
    border-bottom: 1px solid #c2c2c2;
    border-right: 1px solid #c2c2c2;
  }
}
.sign {
  padding: 0px 12px;
  position: absolute;
  top: 90px;
  left: 50%;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  line-height: 30px;
  color: #000000;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 1px 2px 6px #0b132b;
  transform: translateX(-50%);
}
.notice {
  position: absolute;
  top: 30px;
  left: 50%;
  font-size: 12px;
  text-align: center;
  line-height: 20px;
  color: #d4d8f3;
  transform: translateX(-50%);
}
.title {
  position: absolute;
  top: -60px;
  left: 50%;
  font-size: 12px;
  text-align: center;
  line-height: 20px;
  color: #ffffff;
  background: #109385;
  border-radius: 8px;
  box-shadow: 1px 2px 6px #0b132b;
  transform: translateX(-50%);

  p {
    padding: 0px 12px;

    &:first-child {
      padding-top: 8px;
    }
    &:last-child {
      margin-bottom: 8px;
    }
  }
}
.button {
  position: absolute;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  line-height: 20px;
  width: 20px;
  height: 20px;
  color: #ffffff;
  background-color: #ff6a00;
  border-radius: 50%;
  opacity: 0;

  &0 {
    @extend .button;
    bottom: 18px;
    left: 440px;
    opacity: 1;
  }
  &1 {
    @extend .button;
    bottom: 18px;
    left: 238px;
    opacity: 1;
  }
  &2 {
    @extend .button;
    bottom: 76px;
    left: 118px;
    opacity: 1;
  }
  &3 {
    @extend .button;
    top: 100px;
    left: 118px;
    opacity: 1;
  }
  &4 {
    @extend .button;
    top: 18px;
    left: 238px;
    opacity: 1;
  }
  &5 {
    @extend .button;
    top: 18px;
    right: 138px;
    opacity: 1;
  }
  &6 {
    @extend .button;
    top: 100px;
    right: 118px;
    opacity: 1;
  }
  &7 {
    @extend .button;
    bottom: 76px;
    right: 118px;
    opacity: 1;
  }
  &8 {
    @extend .button;
    bottom: 18px;
    right: 138px;
    opacity: 1;
  }
}
.win {
  z-index: 100;
  position: absolute;
  width: 100px;
  font-size: 48px;
  text-align: center;
  font-weight: bold;
  line-height: 60px;
  color: #ffca00;
  text-shadow: 1px 1px 2px #998103;
  opacity: 0;

  &0 {
    @extend .win;
    animation-name: winFun0;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
  }
  &1 {
    @extend .win;
    animation-name: winFun1;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
  }
  &2 {
    @extend .win;
    animation-name: winFun2;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
  }
  &3 {
    @extend .win;
    animation-name: winFun3;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
  }
  &4 {
    @extend .win;
    animation-name: winFun4;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
  }
  &5 {
    @extend .win;
    animation-name: winFun5;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
  }
  &6 {
    @extend .win;
    animation-name: winFun6;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
  }
  &7 {
    @extend .win;
    animation-name: winFun7;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
  }
  &8 {
    @extend .win;
    animation-name: winFun8;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
  }
}

.card {
  padding-left: 12px;
  display: flex;
  flex-wrap: wrap;

  &__item {
    margin-right: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 80px;
    color: #425077;
    background-color: #1e1e3c;
    box-shadow: 1px 2px 6px #0b132b;
    border-radius: 8px;
    overflow: hidden;
  }

  p {
    width: 100%;
    height: 100%;
    padding: 8px 8px 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    box-sizing: border-box;
  }

  span {
    font-family: "HunDIN";
    font-size: 30px;
    font-weight: bold;
  }

  strong {
    font-family: "HunDIN";
    font-size: 20px;
    font-family: bold;
    line-height: 1;
    align-self: flex-start;
    color: #000000;
  }

  img {
    width: 32px;
    height: 32px;
  }
}
.user {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  &__item {
    position: absolute;
    min-width: 100px;
    font-size: 14px;
    text-align: center;
    line-height: 20px;
    color: #ffffff;

    p:last-child {
      font-size: 12px;
      font-weight: 500;
    }

    &:nth-child(1) {
      bottom: -116px;
      left: 350px;
    }
    &:nth-child(2) {
      bottom: -116px;
      left: 148px;
    }
    &:nth-child(3) {
      bottom: 64px;
      left: -136px;
      text-align: right;
    }
    &:nth-child(4) {
      top: 64px;
      left: -136px;
      text-align: right;
    }
    &:nth-child(5) {
      top: -116px;
      left: 148px;
    }
    &:nth-child(6) {
      top: -116px;
      right: 148px;
    }
    &:nth-child(7) {
      top: 64px;
      right: -136px;
      text-align: left;
    }
    &:nth-child(8) {
      bottom: 64px;
      right: -136px;
      text-align: left;
    }
    &:nth-child(9) {
      bottom: -116px;
      right: 148px;
    }
  }
}
.position {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  &__item {
    position: absolute;
    width: 60px;
    height: 60px;

    span {
      position: absolute;
      top: -4px;
      left: 50%;
      padding: 0 10px;
      font-size: 12px;
      text-align: center;
      line-height: 20px;
      white-space: nowrap;
      border-radius: 10px;
      color: #ffffff;
      background-color: #6134e4;
      transform: translateX(-50%);
    }

    i {
      position: absolute;
      top: 0;
      left: 0;
      width: 60px;
      height: 60px;
      background-color: #425077;
      border-radius: 50%;
    }

    strong {
      position: absolute;
      top: 4px;
      left: 4px;
      width: 52px;
      height: 52px;
      font-size: 14px;
      font-weight: bold;
      text-align: center;
      line-height: 52px;
      border-radius: 50%;
      background-color: #1e1e3c;
    }

    &:nth-child(1) {
      bottom: -50px;
      left: 370px;
    }
    &:nth-child(2) {
      bottom: -50px;
      left: 168px;
    }
    &:nth-child(3) {
      bottom: 66px;
      left: -22px;
    }
    &:nth-child(4) {
      top: 66px;
      left: -22px;
    }
    &:nth-child(5) {
      top: -50px;
      left: 168px;
    }
    &:nth-child(6) {
      top: -50px;
      right: 168px;
    }
    &:nth-child(7) {
      top: 66px;
      right: -22px;
    }
    &:nth-child(8) {
      bottom: 66px;
      right: -22px;
    }
    &:nth-child(9) {
      bottom: -50px;
      right: 168px;
    }
  }

  .is-active {
    i {
      background: linear-gradient(to bottom, #c9d210, #ff6a00);
      animation: borderFun 0.65s linear infinite;
    }
  }

  .is-raise {
    span {
      background-color: #ab8c16 !important;
    }
  }
  .is-fold {
    i {
      background-color: #7481a4 !important;
      opacity: 0.85;
    }
    strong {
      background-color: #48486d !important;
      opacity: 0.85;
    }
    span {
      background-color: #8a8a96 !important;
    }
  }
  .is-allin {
    span {
      font-weight: bold;
      background-color: #ff0000 !important;
    }
  }

  @keyframes borderFun {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
}
.stack {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  &__item {
    position: absolute;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;

    img {
      margin-right: 3px;
      width: 12px;
      height: 12px;
    }
    span {
      font-size: 12px;
      font-weight: 500;
      text-align: center;
      line-height: 18px;
      color: #ffffff;
    }

    &:nth-child(1) {
      bottom: 68px;
      left: 350px;
    }
    &:nth-child(2) {
      bottom: 68px;
      left: 148px;
    }
    &:nth-child(3) {
      bottom: 124px;
      left: 28px;
    }
    &:nth-child(4) {
      top: 124px;
      left: 28px;
    }
    &:nth-child(5) {
      top: 68px;
      left: 148px;
    }
    &:nth-child(6) {
      top: 68px;
      right: 148px;
    }
    &:nth-child(7) {
      top: 124px;
      right: 28px;
    }
    &:nth-child(8) {
      bottom: 124px;
      right: 28px;
    }
    &:nth-child(9) {
      bottom: 68px;
      right: 148px;
    }
  }
}
.user-card {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  &__item {
    padding-left: 15px;
    padding-right: 9px;
    position: absolute;
    display: flex;

    &:nth-child(1) {
      bottom: 18px;
      left: 350px;
    }
    &:nth-child(2) {
      bottom: 18px;
      left: 148px;
    }
    &:nth-child(3) {
      bottom: 76px;
      left: 28px;
    }
    &:nth-child(4) {
      top: 76px;
      left: 28px;
    }
    &:nth-child(5) {
      top: 18px;
      left: 148px;
    }
    &:nth-child(6) {
      top: 18px;
      right: 148px;
    }
    &:nth-child(7) {
      top: 76px;
      right: 28px;
    }
    &:nth-child(8) {
      bottom: 76px;
      right: 28px;
    }
    &:nth-child(9) {
      bottom: 18px;
      right: 148px;
    }
  }

  p {
    margin-right: 6px;
    padding: 3px 3px 6px 3px;
    width: 30px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 1px 2px 6px #0b132b;
    box-sizing: border-box;
    color: #000000;
    background-color: #ffffff;

    strong {
      font-family: "HunDIN";
      font-size: 14px;
      font-family: bold;
      text-align: left;
      line-height: 1;
      align-self: flex-start;
    }

    img {
      width: 16px;
      height: 16px;
    }
  }

  .is-empty {
    justify-content: center;
    color: #425077;
    border: 1px dashed #1e1e3c;
    background-color: #333a6b;
    box-shadow: none;

    strong {
      align-self: center;
    }
  }
  .is-active {
    background-image: url("../assets/back.jpg");
    background-size: 100% 100%;
  }

  .is-fold {
    opacity: 0.65;
  }
}

@keyframes winFun0 {
  0% {
    bottom: 220px;
    right: 350px;
    opacity: 0;
    font-size: 48px;
  }
  50% {
    bottom: 220px;
    right: 350px;
    opacity: 1;
    font-size: 48px;
  }
  100% {
    bottom: -50px;
    right: 350px;
    opacity: 1;
    font-size: 22px;
  }
}

@keyframes winFun1 {
  0% {
    bottom: 220px;
    left: 350px;
    opacity: 0;
    font-size: 48px;
  }
  50% {
    bottom: 220px;
    left: 350px;
    opacity: 1;
    font-size: 48px;
  }
  100% {
    bottom: -50px;
    left: 148px;
    opacity: 1;
    font-size: 22px;
  }
}

@keyframes winFun2 {
  0% {
    bottom: 220px;
    left: 350px;
    opacity: 0;
    font-size: 48px;
  }
  50% {
    bottom: 220px;
    left: 350px;
    opacity: 1;
    font-size: 48px;
  }
  100% {
    bottom: 66px;
    left: -42px;
    opacity: 1;
    font-size: 22px;
  }
}

@keyframes winFun3 {
  0% {
    top: 80px;
    left: 350px;
    opacity: 0;
    font-size: 48px;
  }
  50% {
    top: 80px;
    left: 350px;
    opacity: 1;
    font-size: 48px;
  }
  100% {
    top: 66px;
    left: -42px;
    opacity: 1;
    font-size: 22px;
  }
}

@keyframes winFun4 {
  0% {
    top: 80px;
    left: 350px;
    opacity: 0;
    font-size: 48px;
  }
  50% {
    top: 80px;
    left: 350px;
    opacity: 1;
    font-size: 48px;
  }
  100% {
    top: -50px;
    left: 148px;
    opacity: 1;
    font-size: 22px;
  }
}

@keyframes winFun5 {
  0% {
    top: 80px;
    right: 350px;
    opacity: 0;
    font-size: 48px;
  }
  50% {
    top: 80px;
    right: 350px;
    opacity: 1;
    font-size: 48px;
  }
  100% {
    top: -50px;
    right: 148px;
    opacity: 1;
    font-size: 22px;
  }
}
@keyframes winFun6 {
  0% {
    top: 80px;
    right: 350px;
    opacity: 0;
    font-size: 48px;
  }
  50% {
    top: 80px;
    right: 350px;
    opacity: 1;
    font-size: 48px;
  }
  100% {
    top: 66px;
    right: -42px;
    opacity: 1;
    font-size: 22px;
  }
}

@keyframes winFun7 {
  0% {
    bottom: 220px;
    right: 350px;
    opacity: 0;
    font-size: 48px;
  }
  50% {
    bottom: 220px;
    right: 350px;
    opacity: 1;
    font-size: 48px;
  }
  100% {
    bottom: 66px;
    right: -42px;
    opacity: 1;
    font-size: 22px;
  }
}

@keyframes winFun8 {
  0% {
    bottom: 220px;
    right: 350px;
    opacity: 0;
    font-size: 48px;
  }
  50% {
    bottom: 220px;
    right: 350px;
    opacity: 1;
    font-size: 48px;
  }
  100% {
    bottom: -50px;
    right: 148px;
    opacity: 1;
    font-size: 22px;
  }
}
</style>
